require "combat"


print("**********************************************************")
for lvl = 1, 80 do
	local heroi_str = create_hero_instance(heros.hero_str, lvl)
	local heroi_int = create_hero_instance(heros.hero_int, lvl)
	local crts1 = fight_critical(heroi_int, heroi_str, 1000)
	local crts2 = fight_critical(heroi_str, heroi_int, 1000)
	print("lvl:"..lvl,"int vs str:".. crts1/10 .. "% " .. crts2/10 .. "%")
end

print("**********************************************************")
for lvl = 1, 80 do
	local heroi_agi = create_hero_instance(heros.hero_agi, lvl)
	local heroi_int = create_hero_instance(heros.hero_int, lvl)
	local crts1 = fight_critical(heroi_agi, heroi_int, 1000)
	local crts2 = fight_critical(heroi_int, heroi_agi, 1000)
	print("lvl:"..lvl,"agi vs int:".. crts1/10 .. "% " .. crts2/10 .. "%")
end

print("**********************************************************")
for lvl = 1, 80 do
	local heroi_agi = create_hero_instance(heros.hero_agi, lvl)
	local heroi_str = create_hero_instance(heros.hero_str, lvl)
	local crts1 = fight_critical(heroi_str, heroi_agi, 1000)
	local crts2 = fight_critical(heroi_agi, heroi_str, 1000)
	print("lvl:"..lvl,"str vs agi:".. crts1/10 .. "% " .. crts2/10 .. "%")
end

print("**********************************************************")
